package com.booking.controller.model.req.homestay;

import lombok.Data;

import javax.validation.constraints.NotEmpty;
import javax.validation.constraints.NotNull;
import java.math.BigDecimal;

/**
 * @author Qikai.Lin
 * @date 2023/4/23
 */
@Data
public class HomestayServiceCreateReq {

    /**
     * 民宿id
     */
    @NotNull(message = "民宿编号不能为空")
    private Long homestayId;
    /**
     * 服务名称
     */
    @NotEmpty(message = "服务名称不能为空")
    private String name;
    /**
     * 服务价格
     */
    @NotNull(message = "服务价格不能为空")
    private BigDecimal prices;
    /**
     * 预订价格
     */
    @NotNull(message = "预订价格不能为空")
    private BigDecimal bookingPrices;
    /**
     * 服务简介
     */
    @NotEmpty(message = "服务简介不能为空")
    private String description;
}
